﻿using System;

namespace Gonte.Web.Json
{
    /// <summary>
    /// The field information to read data from the JSON store
    /// </summary>
    public class JsonFieldInfo
    {
        /// <summary>
        /// The unique ID of the field
        /// </summary>
        public string id { get; set; }

        /// <summary>
        /// Name of the field
        /// </summary>
        public string name { get; set; }

        /// <summary>
        /// Type of the field
        /// </summary>
        public string type { get; set; }

        /// <summary>
        /// An alias to the name of the field
        /// </summary>
        public string mapping { get; set; }
    }
}
